<?php
/* @var $this LocationController */
/* @var $model Location */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<div class="row">
		<?php echo $form->labelEx($model,'Afficher par :'); ?>
		<?php echo $form->dropDownList($model,'id_area',CHtml::listData(Area::model()->findAll(), 'id', 'name'),array('class'=>'searchImput','prompt'=>'Sélectionnez une région','onchange'=>'this.form.submit()'));?>
		<?php echo $form->error($model,'id_area'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->